import React from 'react';
import {inject, observer} from 'mobx-react';
import { Browser } from 'weaver-mobile-page'
import { withRouter } from 'react-router-dom';
import { Tools } from 'weaver-mobile';
const getLabel = Tools.getLabel;
@inject('viewWorkplanStore')
@withRouter
@observer
class BaseView extends React.Component {
  componentDidMount() {

  }
  render() {
    let {browser}= this.props.viewWorkplanStore;
    return (
      <div>
          <Browser
            label={getLabel(2211,'日程')}
            store={browser}
            hasAdvanceSerach
            type={"184"}
            onChange={(...arg) => {
              // console.log('Browser onchange: ', ...arg);
            }}
          />

      </div>
    )
  }
}

export default BaseView;